#!/bin/bash




for((i=1;i<=10;i++));
do
echo $(expr $i \* 3 + 1);
done



forFile7=`cat ./forFile7.sh`

echo -e '-sh脚本多行注释-'"\r\n"$forFile7

echo "\r"
echo "\r\n"
echo "\n"

memo=$(cat ../memo/memo.sh)

echo -e '-sh脚本多行注释-'"\r\n"${memo}




# for((i=1;i<=10;i++));
# do
# echo $(expr $i \* 3 + 1);
# done

# :<<restures

# f1 is appoint
# f2 is appoint
# f3 is appoint


# restures

/Users/acewill/src/quickstart

Mac安装go语言环境
https://www.jianshu.com/p/8bfa6d93eb03
hugo的github
https://github.com/gohugoio/hugo
hugo的官方文档
https://gohugo.io/getting-started/
https://gohugo.io/getting-started/quick-start/
hugo的官方安装文档
https://gohugo.io/getting-started/installing/
https://github.com/theNewDynamic/gohugo-theme-ananke



macOS安装hugo
Homebrew (macOS)
	brew install hugo

Windows安装hugo
Windows
	Chocolatey
		choco install hugo -confirm
	Scoop
		scoop install hugo

Debian和Ubuntu 
	sudo apt-get install hugo

Fedora，Red Hat和CentOS 
	sudo dnf install hugo






hugo 看版本号
hugo version

建立新网站项目
hugo new site quickstart
进入项目目录
cd quickstart
git init
git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke
echo 'theme = "ananke"' >> config.toml
cat config.toml
hugo new posts/my-first-post.md
/Users/code/hugo-docs/quickStartTest/content/posts/my-first-post.md created
ls -la content/posts/my-first-post.md
hugo server -D




cccccccc-2:~ root# cat my-first-post.md.log 
/Users/cccccccc/src/quickstart/content/posts/my-first-post.md
ccccccccdeiMac-2:~ root# 
ccccccccdeiMac-2:~ root# 
ccccccccdeiMac-2:~ root# 
ccccccccdeiMac-2:~ root# pwd
/var/root
ccccccccdeiMac-2:~ root# 
ccccccccdeiMac-2:~ root# 
ccccccccdeiMac-2:~ root# cat /Users/cccccccc/src/quickstart/content/posts/my-first-post.md
---
title: "My First Post"
date: 2020-11-23T15:51:15+08:00
draft: true
---












